home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / Devices / RAMDisk 1.4d5 / Documentation / Changes in 1.1 next >
Encoding:
Text File  |  1997-03-07  |  540 b   |  17 lines  |  [TEXT/ttxt]

  1. Changes in 1.1
  2. __________________________________________________
  3.  
  4. In the file RAMInit.c, in the procedure GrowUnitTable(), there was
  5. a line which read:
  6.  
  7.  newUnitTableBase = NewPtrSysClear(sizeof(newUnitEntryCount * sizeof(long)));
  8.  
  9. this line should be
  10.  
  11.  newUnitTableBase = NewPtrSysClear(newUnitEntryCount * sizeof(long));
  12.  
  13. Because of this bug, trying to grow the unit table will overwrite other
  14. parts of the system heap and potentially crash.  Thanks to Mike Wiese
  15. for finding this bug.
  16. __________________________________________________
  17.